package site.jlopen.secret.model.data;

import lombok.Data;
import lombok.EqualsAndHashCode;
import site.jlopen.secret.uitl.SecretTableType;

@Data
@EqualsAndHashCode(callSuper=false)
public class SecretDataTableStructure {

	private String columnName;
	
	private SecretTableType columnType;
	
	private String columnRemark;
	
	/**
	 * @param columnName   <p>字段名称</p>
	 * @param columnType   <p>字段类型，只能传入：int、float、double、string</p>
	 * @param columnRemark <p>字段备注</p>
	 */
	public SecretDataTableStructure(String columnName, SecretTableType columnType, String columnRemark) {
		super();
		this.columnName = columnName;
		this.columnType = columnType;
		this.columnRemark = columnRemark;
	}
	
	/**
	 * @param columnName   <p>字段名称</p>
	 * @param columnType   <p>字段类型，只能传入：int、float、double、string</p>
	 */
	public SecretDataTableStructure(String columnName, SecretTableType columnType) {
		super();
		this.columnName = columnName;
		this.columnType = columnType;
	}

	public SecretDataTableStructure() {
		super();
	}
	
}
